package com.bw.suppliers.service.Impl;

import com.bw.suppliers.mapper.SuppliersMapper;
import com.bw.suppliers.pojo.Suppliers;
import com.bw.suppliers.service.SuppliersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SuppliersServiceImpl implements SuppliersService {
    @Autowired
    private SuppliersMapper suppliersMapper;


    /**
     * 供应商下拉框
     * @return
     */
    @Override
    public List<Suppliers> supplierList() {
        List<Suppliers> list = suppliersMapper.supplierList();
        return list;
    }
}
